
const User = () => import(/* webpackChunkName: "User" */ '@/components/user/index')
const Login = () => import(/* webpackChunkName: "Login" */ '@/components/user/login/login')
const SignUp = () => import(/* webpackChunkName: "SignUp" */ '@/components/user/login/signUp')
const user = [
  {
    path: '/user',
    component: User,
    name: 'user',
    meta: { title: '用户页面' },
    redirect: {
      name: 'login'
    },
    children: [
      {
        path: 'login',
        component: Login,
        name: 'login',
        meta: { title: '用户登陆' }
      },
      {
        path: 'signUp',
        component: SignUp,
        name: 'signUp',
        meta: { title: '用户注册' }
      }
    ]
  }
]
export default user
